home *** CD-ROM | disk | FTP | other *** search
- /* testmain.c - test view.c (main function) */
- #include "stdio.h"
- #include "cminor.h"
-
- int open_file(fn)
- char fn[] ;
- {
- int ret ;
- printf("\n open_file called - fn = %s\n",fn) ;
- printf("return code :") ;
- scanf("%d",&ret) ;
- return(ret) ;
- }
-
-
- int set_filesize(chk_cltz)
- int chk_cltz ;
- {
- printf("\n set_filesize called - chk_cltz + %d \n",chk_cltz) ;
- }
-
-
- int get_cmd()
- {
- int cmd ;
- printf("\n get_cmd called\n") ;
- printf("cmd:") ;
- scanf("%d",&cmd) ;
- return(cmd) ;
- }
-
-
- int exec_cmd(cmd)
- int cmd ;
- {
- printf("\n exec_cmd called\n") ;
- printf("cmd = %d \n",cmd) ;
- }
-
-
- int close_file()
- {
- printf("\n close_file called\n") ;
- }
-
-